package com.sunsy.authserver.beans.po;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * (UserAppRelation)表实体类
 *
 * @author makejava
 * @since 2021-07-20 14:40:42
 */
@Data
@TableName(value = "user_app_relation")
public class UserAppRelation implements Serializable {

    private static final long serialVersionUID = 582170155061966531L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 应用ID
     */
    private Long appId;

    /**
     * 用户ID
     */
    private Long userId;

    @TableField(fill = FieldFill.INSERT)
    private String createdBy;

    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updatedBy;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;


}